package com.tt.job.api.config;

import java.io.Serializable;

public class JobConfig implements Serializable {
    private boolean enabled;
    private boolean log;

    /**
     * 是否启用该job
     *
     * @return
     */
    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    /**
     * 是否记录运行日志
     *
     * @return
     */
    public boolean isLog() {
        return log;
    }

    public void setLog(boolean log) {
        this.log = log;
    }
}
